﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CrmContacto.Contracts.Services;
using CrmContacto.Services;

namespace CrmContacto.ServiceFactory
{
    public class ServiceFactory
    {
        protected static ServiceFactory innerInstance = new ServiceFactory();

        public static ServiceFactory Instance
        {
            get
            {
                return innerInstance;
            }
        }

        public ICrmContactoAdminService GetCrmContactoAdminService()
        {
            return new CrmContactoAdminService();
        }

        public ILocalization GetLocalizationService()
        {
            return new LocalizationService();
        }
    }
}
